package com.fix.common;

import java.util.List;

/**
 * 分页结果
 * @author fix
 *
 */
public class PageResult<T>  {
	long total;
	List<T> rows;
	
	public PageResult(long total, List<T> rows) {
		this.total = total;
		this.rows = rows;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	} 
	
}
